package com.nmsl.masterdocker.controller;

import com.nmsl.masterdocker.domain.SysUserZY;
import com.nmsl.masterdocker.service.SysUserZyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/masterdocker/log")
public class SysUserZYController {
    @Autowired
    private SysUserZyService sysUserZyService;
    @GetMapping
    public SysUserZY getSysUserZY( Long id) {
        return sysUserZyService.getSysUserZyById(id);
    }
}
